﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;


namespace Projekt
{
    /// <summary>
    /// Mertekegysegekkel kapcsolatos muveletek
    /// </summary>
    class UM
    {
        Dalgen conn = Dalgen.Instance;
        /// <summary>
        /// Mertekegysegek lekerese
        /// </summary>
        /// <returns>Mertekegysegek listaja(datatable)</returns>
        public DataTable getUMList()
        {
            String sqlQuery = "Select * from mertekegyseg";
            return conn.QueryCmd(sqlQuery);
        }
    }
}
